package com.huaxiafinance.management.mapper;

import com.huaxiafinance.management.model.ProductSku;
import com.huaxiafinance.management.model.ProductSkuExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductSkuMapper {
    int countByExample(ProductSkuExample example);

    int deleteByExample(ProductSkuExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ProductSku record);

    int insertSelective(ProductSku record);

    List<ProductSku> selectByExample(ProductSkuExample example);

    ProductSku selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ProductSku record, @Param("example") ProductSkuExample example);

    int updateByExample(@Param("record") ProductSku record, @Param("example") ProductSkuExample example);

    int updateByPrimaryKeySelective(ProductSku record);

    int updateByPrimaryKey(ProductSku record);
    int updateByPrimaryKeySku(ProductSku record);

}